package com.zg.scf.domain.req.plan;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zg.common.core.req.PageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * DESCRIPTION
 *
 * @author zhanfeng.liang
 * @since 2025-07-14
 */

@Data
@ApiModel(value = "港口计划PageReq")
public class PortPlanPageReq extends PageReq {



    @ApiModelProperty(value = "用户名称", example = "XX公司", notes = "用户名称")
    private String userName;          // 用户（企业名称）


    @ApiModelProperty(value = "计划执行日期", example = "2025-07-20", notes = "计划开始执行的日期")
    @JsonFormat(pattern = "yyyy-MM-dd",shape = JsonFormat.Shape.STRING, timezone = "GMT+8")
    private Date planDate;         // 计划日期

//    @JsonFormat(pattern = "yyyy-MM-dd",shape = JsonFormat.Shape.STRING, timezone = "GMT+8")
//    private Date beginTime;
//
//    @JsonFormat(pattern = "yyyy-MM-dd",shape = JsonFormat.Shape.STRING, timezone = "GMT+8")
//    private Date endTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date[] planDates;

}
